import request from "@/utils/request";
import { download, downloadOfGet } from "@/utils/request";
// 查询
export function getList(params) {
  return request({
    url: "/forecast/forecastDeviceResult/list",
    method: "get",
    params,
  });
}
//导出

export function exportList(fileName, params) {
  return downloadOfGet("/forecast/forecastDeviceResult/export", fileName, {
    params,
  });
}

//删除

export function deleteOne(id) {
  return request({
    url: "/forecast/forecastDeviceResult/" + id,
    method: "delete",
  });
}
